home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NOVA - For the NeXT Workstation
/
NOVA - For the NeXT Workstation.iso
/
Documents
/
NeXTAnswers
/
sysadmin.725
< prev
next >
Wrap
Text File
|
1992-02-06
|
1KB
|
54 lines
{\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fswiss Helvetica;}
\paperw11040
\paperh8860
\margl120
\margr1000
{\colortbl\red0\green0\blue0;}
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 ftpd anonymous ftp logging\
\
Q: Why won't
\b ftpd
\b0 log anonymous ftp logins?\
\
A: There's a very old bug in
\b ftpd
\b0 which prevents this, even if the -l option is given (in the
\b ftpd
\b0 arguments listed in
\b /etc/inetd.conf
\b0 ; see the UNIX Manual Pages for ftpd and inetd).\
\
There's a workaround which applies
\i if
\i0 the
\b ~ftp
\b0 directory and the
\b /dev
\b0 directory are on the same file system. In
\b /etc/rc
\b0 , after starting
\b syslog
\b0 , make a hard link from
\b ~ftp/dev/log
\b0 to
\b /dev/log
\b0 . Note that this requires the
\b ~ftp/dev
\b0 directory to exist already (that directory should be owned by
\b root
\b0 , and its permissions should permit the owner to read and search [execute], and the group and others to search [execute]: r-x--x--x, mode 511).\
\
Hard links cannot cross file systems, so if
\b ~ftp
\b0 and
\b /dev
\b0 are on different file systems this workaround does not apply.\
\
\fc0 QA725\
\
Valid for 1.0\
Valid for 2.0\
\